package me.shep.wishlist.client.RPC;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import me.shep.wishlist.client.DesiredItem;
import me.shep.wishlist.client.Person;

@RemoteServiceRelativePath("inventory")
public interface InventoryService extends RemoteService {	 
	Person login(String token) throws Exception;
	void logout(String token) throws Exception;
	List<Person> getPeople(String token) throws Exception;
	void updateItem(DesiredItem d, String token) throws Exception;
	void deleteItem(int id, String token) throws Exception;
	void addItem(DesiredItem d, String token) throws Exception;
	void purchaseItem(int id, String token) throws Exception;
}